package com.itheima.hello.hellopromax高级进阶.斗地主;

public class card {
    private String num;//点数
    private String color;//花色
    private int size;//大小

    @Override
    public String toString() {
        return num + color ;
    }

    public card() {

    }

    public card(String num, String color, int size) {
        this.num = num;
        this.color = color;
        this.size = size;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }
}
